package 分支;
import java.util.Scanner;
public class 成绩等级 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("输入成绩");
        int a = input.nextInt();
        switch (a/10){
            case 9:
            case 10:
                System.out.println("A");
                break;
            case 8:
                System.out.println("B");
                break;
            case 7:
                System.out.println("C");
                break;
            case 6:
                System.out.println("D");
                break;
            default:
                System.out.println("E");
        }

        }
    }

